Skip to content

fix: use current Opengist gist API - #92

Merged
variablenix merged 1 commit into
mainfrom
fix/opengist-paste-api
Aug 8, 2026
Merged

fix: use current Opengist gist API#92
variablenix merged 1 commit into
mainfrom
fix/opengist-paste-api

Conversation

@variablenix

Copy link
Copy Markdown
Owner

Fix

  • use Authorization: Bearer <token> as required by current Opengist
  • send visibility: public|unlisted|private instead of legacy boolean fields
  • improve one-line errors with the provider HTTP status
  • update the Opengist contract test to cover the current request and response shape

Validation

  • go test ./...
  • go vet ./...
  • git diff --check

@variablenix
variablenix merged commit 8799c2d into main Aug 8, 2026
3 checks passed
@variablenix
variablenix deleted the fix/opengist-paste-api branch August 8, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant